GtkBuilder: Allow G_PARAM_CONSTRUCT properties to be set on internal children.
authorTristan Van Berkom <tristanvb@openismus.com>
Sat, 30 Mar 2013 09:46:16 +0000 (18:46 +0900)
committerTristan Van Berkom <tristanvb@openismus.com>
Mon, 8 Apr 2013 12:19:27 +0000 (21:19 +0900)
commit64b87824c760766b2e83bfc6dad7e69f5c0ca667
treec58d69fb70d1a3fd80a56fce9abd223a88333f8b
parentb7da0d21f8ca2f9ec4eccf3a96c57327e0a5d601
GtkBuilder: Allow G_PARAM_CONSTRUCT properties to be set on internal children.

This patch allows properties of type G_PARAM_CONSTRUCT to be set
on internal children or explicitly constructed objects (built
with <constructor>) while previously, G_PARAM_CONSTRUCT properties
being set on already constructed objects would result in an misinformed
warning that "construct-only properties cannot be set".

G_PARAM_CONSTRUCT_ONLY properties are still refused as parameters
to already constructed children.
gtk/gtkbuilder.c